package com.pbc.gmp.dao;

import com.pbc.gmp.model.basemodel.Acl;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.pbc.gmp.model.mybatisDto.AclTotalDto;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Set;

/**
 * <p>
 * Mapper接口
 * </p>
 *
 * @author kjk
 * @since 2017-04-17
 */
@Component("permissionDao")
public interface AclMapper extends BaseMapper<Acl> {

    public Set<String> selectResourceListByRoleId(Long id);
    public List<AclTotalDto> selectAclsByIds(List<Long> ids);
    public List<Long> selectResMenuIdListByRoleId(java.lang.Long id);
    public Set<AclTotalDto> selectAclsList(Long roleid);

}